# -*- coding: utf-8 -*-
# @Time    : 2019/12/13 18:12
# @Author  : Damn7Kx
# @Software: PyCharm
if __name__ == "__main__":

    import time, datetime
    import os
    count = 0
    while True:
        count += 1
        print(datetime.datetime.now(), 'Time_task2第%s次运行爬虫' % count)
        os.system("scrapy crawl Zixungou")
        os.system("scrapy crawl BB")
        os.system("scrapy crawl Junshi")
        os.system("scrapy crawl Chuizi")
        print("Time Task2进入等待时间...")
        time.sleep(180)